﻿
namespace NWebMock
{
    public interface IHttpCacheVaryByContentEncodings
    {
        #region Properties

        /// <summary>
        /// Gets or sets a value that indicates whether the cache varies according to the specified content encoding.
        /// </summary>
        /// <param name="contentEncoding">The name of the content encoding.</param>
        /// <returns>true if the cache should vary by the specified content encoding; otherwise, false.</returns>
        bool this[string contentEncoding] { get; set; }

        #endregion
    }
}
